Volume Controls
ThevolType
parameter of theTELGetVolume
andTELSetVolume
functions and themtype
parameter of thetelTermVolMsg
and thetelTermVolStateMsg
messages return one of the following constants to indicate the type of device whose volume has been adjusted or whose volume state has changed:
enum { telHandsetSpeakerVol = 1, telHandsetMicVol = 2, telSpeakerphoneVol = 3, telSpeakerphoneMicVol = 4, telRingerVol = 5, telBuiltinSPVol = 6, telBuiltinSPMicVol = 7 };Constant descriptions
The
telHandsetSpeakerVol
- The volume of the handset speaker.
telHandsetMicVol
- The sensitivity of the handset microphone.
telSpeakerphoneVol
- The volume of the speaker phone.
telSpeakerphoneMicVol
- The sensitivity of the speaker phone microphone.
telRingerVol
- The volume of the ringer.
telBuiltinSPVol
- The volume of the built-in speakerphone. A built-in speaker phone is a speakerphone that is built in to the computer. Typically, this consists of the computer's microphone and speaker together with software that functions as a speakerphone.
telBuiltinSPMicVol
- The sensitivity of the built-in speakerphone microphone.
- Note
- Device type values in the range 8 through 255 are reserved for use by the Telephone Manager. Device type values in the range 256 through 32768 are available for use by telephone tools.
![]()
level
parameter of theTELGetVolume
andTELSetVolume
functions and thevalue
parameter of thetelTermVolMsg
message return one of the following constants, or a value betweentelVolMin
andtelVolMax
, to indicate the level to which the volume has been adjusted:
enum { telVolSame = 0, telVolMin = 1, telVolMax = 100 };Constant descriptions
The
telVolSame
- The volume remains at its previous level.
telVolMin
- The minimum volume level.
telVolMax
- The maximum volume level.
volState
parameter of theTELGetVolume
andTELSetVolume
functions and thevalue
parameter of thetelTermVolStateMsg
message returns one of the following constants to indicate the new state of the device:
enum { telVolStateSame = 0, telVolStateOff = 1, telVolStateOn = 2 };Constant descriptions
telVolStateSame
- The volume state remains in its previous state.
telVolStateOff
- The volume state is off. The device is muted but the volume level is unchanged.
telVolStateOn
- The volume state is on. The volume level is set to its previous level.
- Note
- Volume state values in the range 3 through 255 are reserved for use by the Telephone Manager. Volume state values in the range 256 through 32768 are available for use by telephone tools.
![]()
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help